#ifndef MATERIAL_VIEWER_H
#define MATERIAL_VIEWER_H

#include <QtGui>

class MaterialViewer : public QDockWidget
{
    Q_OBJECT

    public:
        explicit MaterialViewer(QWidget *parent=0, Qt::WindowFlags flags=0);

        virtual ~MaterialViewer();

    private:
        QWidget *mpContainer;
        QVBoxLayout *mpVerticalLayout;

        QTreeWidget *mpTreeWidget;
        QTreeWidgetItem *mpAmbientItem;
        QTreeWidgetItem *mpDiffuseItem;
        QTreeWidgetItem *mpSpecularItem;
        QTreeWidgetItem *mpEmissionItem;
        QTreeWidgetItem *mpShininessItem;
        QTreeWidgetItem *mpColorMaterialItem;
        QTreeWidgetItem *mpLightReceiveItem;
        QTreeWidgetItem *mpShadowCastItem;
        QTreeWidgetItem *mpShadowReceiveItem;

        QVariant *mpAmbient;
        QVariant *mpDiffuse;
        QVariant *mpSpecular;
        QVariant *mpEmission;
        QDoubleSpinBox *mpShininess;
        QCheckBox *mpColorMaterial;
        QCheckBox *mpLightReceive;
        QCheckBox *mpShadowCast;
        QCheckBox *mpShadowReceive;
};

#endif
